wayland: Destroy the xdg_imported after the wl_surface
authorJonas Ådahl <jadahl@gmail.com>
Fri, 1 Dec 2017 08:03:34 +0000 (16:03 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Dec 2017 03:13:30 +0000 (22:13 -0500)
commit6412d25602956f6acfd64eceac6f3c62f9f7b76f
treec593402ea2d555229c1578921005b51e86e48bf9
parent7c743e6f416b1222340f26ce2e0e1b1fa30cfa65
wayland: Destroy the xdg_imported after the wl_surface

This way the window manager can handle destruction while having the
transient-for relationship still valid.

https://bugzilla.gnome.org/show_bug.cgi?id=791062
gdk/wayland/gdkwindow-wayland.c